#ifndef WAVEDIALOG_H
#define WAVEDIALOG_H

#include <QDialog>

namespace Ui {
    class WaveDialog;
}

class WaveDialog : public QDialog
{
    Q_OBJECT

public:
    explicit WaveDialog(QWidget *parent = 0);
    ~WaveDialog();

signals:
    void parametersChanged(uint, uint, double, uint);
    void applyOperator(QString);
    void cancelOperator();

protected:
    void closeEvent(QCloseEvent *);
    void paintEvent(QPaintEvent *);
    void showEvent(QShowEvent *);

private slots:
    void radioButtonClicked();
    void emitParametersChangedSignal(int para);
    void applyButtonClicked();
    void cancelButtonClicked();

private:
    Ui::WaveDialog *ui;
};

#endif // WAVEDIALOG_H
